package com.aspose.cells;

class zbdc extends zck {
   zbdc(zn var1, float var2, float var3, zbkr var4) {
      super(var1, var2, var3, var4);
   }

   com.aspose.cells.b.a.b.a.ze a(com.aspose.cells.b.a.b.zq var1) {
      float var2 = 0.0F;
      float var3 = 0.0F;
      int var4 = 0;
      boolean var5 = false;
      boolean var6 = false;
      if (this.e.x().g() != 0) {
         var4 = this.e.x().g();
         var5 = true;
      }

      if (this.e.x().j() != 0) {
         var4 = this.e.x().j();
         var6 = true;
      }

      com.aspose.cells.b.a.b.a.ze var7 = new com.aspose.cells.b.a.b.a.ze();
      if (!this.e.x().a()) {
         new com.aspose.cells.b.a.b.zo();
         new com.aspose.cells.b.a.b.zo();
         com.aspose.cells.b.a.b.zo var8;
         com.aspose.cells.b.a.b.zo var9;
         if (this.e.q() <= this.e.x().f()) {
            switch(var4) {
            case 3:
               if (this.e.x().f() <= 1.0F) {
                  if (var5 && var6) {
                     var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.x().f() * 5.0F);
                     var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.r() + this.e.x().f() * 5.0F);
                  } else {
                     if (var5 && !var6) {
                        var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.x().f() * 5.0F);
                        var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.r() + this.e.x().f() * 5.0F);
                        break;
                     }

                     var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3);
                     var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.r());
                  }
               } else if (var5 && var6) {
                  var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + 1.5F * this.e.x().f() + 1.0F);
                  var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.r() + 1.5F * this.e.x().f() + 1.0F);
               } else {
                  if (var5 && !var6) {
                     var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + 1.5F * this.e.x().f() + 1.0F);
                     var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.r() + 1.5F * this.e.x().f() + 1.0F);
                     break;
                  }

                  var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3);
                  var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.r());
               }
               break;
            case 4:
               if (this.e.x().f() <= 1.0F) {
                  if (var5 && var6) {
                     var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.x().f() * 5.0F);
                     var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.r() + this.e.x().f() * 5.0F);
                  } else {
                     if (var5 && !var6) {
                        var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.x().f() * 5.0F);
                        var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.r() + this.e.x().f() * 5.0F);
                        break;
                     }

                     var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3);
                     var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.r());
                  }
               } else if (var5 && var6) {
                  var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + 1.5F * this.e.x().f() + 1.0F);
                  var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.r() + 1.5F * this.e.x().f() + 1.0F);
               } else {
                  if (var5 && !var6) {
                     var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + 1.5F * this.e.x().f() + 1.0F);
                     var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.r() + 1.5F * this.e.x().f() + 1.0F);
                     break;
                  }

                  var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3);
                  var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.r());
               }
               break;
            case 5:
               if (this.e.x().f() <= 1.0F) {
                  var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3);
                  var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.r());
               } else {
                  var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.x().f() / 2.0F);
                  var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.r() + this.e.x().f() / 2.0F);
               }
               break;
            default:
               var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3);
               var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() / 2.0F, this.e.t() + var3 + this.e.r());
            }

            if (this.e.b != 1 && this.e.b != 4) {
               var7.a(var9, var8);
            } else {
               var7.a(var8, var9);
            }
         } else if (this.e.r() <= this.e.x().f()) {
            switch(var4) {
            case 3:
               if (this.e.x().f() <= 1.0F) {
                  if (var5 && var6) {
                     var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 5.0F, this.e.t() + var3 + var1.i() / 2.0F);
                     var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() * 5.0F, this.e.t() + var3 + var1.i() / 2.0F);
                  } else {
                     if (var5 && !var6) {
                        var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 5.0F, this.e.t() + var3 + var1.i() / 2.0F);
                        var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() + this.e.x().f() * 5.0F, this.e.t() + var3 + var1.i() / 2.0F);
                        break;
                     }

                     var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + var1.i() / 2.0F);
                     var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - 5.0F * this.e.x().f(), this.e.t() + var3 + var1.i() / 2.0F);
                  }
               } else if (var5 && var6) {
                  var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 1.5F * this.e.x().f() + 1.0F, this.e.t() + var3 + var1.i() / 2.0F);
                  var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - (1.5F * this.e.x().f() + 1.0F), this.e.t() + var3 + var1.i() / 2.0F);
               } else {
                  if (var5 && !var6) {
                     var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 1.5F * this.e.x().f() + 1.0F, this.e.t() + var3 + var1.i() / 2.0F);
                     var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() + 1.5F * this.e.x().f() + 1.0F, this.e.t() + var3 + var1.i() / 2.0F);
                     break;
                  }

                  var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + var1.i() / 2.0F);
                  var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() / 2.0F);
               }
               break;
            case 4:
               if (this.e.x().f() <= 1.0F) {
                  if (var5 && var6) {
                     var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 5.0F, this.e.t() + var3 + var1.i() / 2.0F);
                     var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() * 5.0F, this.e.t() + var3 + var1.i() / 2.0F);
                  } else {
                     if (var5 && !var6) {
                        var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 5.0F, this.e.t() + var3 + var1.i() / 2.0F);
                        var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() + this.e.x().f() * 5.0F, this.e.t() + var3 + var1.i() / 2.0F);
                        break;
                     }

                     var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + var1.i() / 2.0F);
                     var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - 5.0F * this.e.x().f(), this.e.t() + var3 + var1.i() / 2.0F);
                  }
               } else if (var5 && var6) {
                  var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 1.5F + 1.0F, this.e.t() + var3 + var1.i() / 2.0F);
                  var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - (this.e.x().f() * 1.5F + 1.0F), this.e.t() + var3 + var1.i() / 2.0F);
               } else {
                  if (var5 && !var6) {
                     var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 1.5F + 1.0F, this.e.t() + var3 + var1.i() / 2.0F);
                     var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() + this.e.x().f() * 1.5F + 1.0F, this.e.t() + var3 + var1.i() / 2.0F);
                     break;
                  }

                  var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + var1.i() / 2.0F);
                  var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - (this.e.x().f() * 1.5F + 1.0F), this.e.t() + var3 + var1.i() / 2.0F);
               }
               break;
            case 5:
               if (this.e.x().f() <= 1.0F) {
                  var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + var1.i() / 2.0F);
                  var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() / 2.0F);
               } else {
                  var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + var1.i() / 2.0F);
                  var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() / 2.0F, this.e.t() + var3 + var1.i() / 2.0F);
               }
               break;
            default:
               var8 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + var1.i() / 2.0F);
               var9 = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() / 2.0F);
            }

            if (this.e.b != 1 && this.e.b != 2) {
               var7.a(var9, var8);
            } else {
               var7.a(var8, var9);
            }
         } else {
            com.aspose.cells.b.a.b.zo[] var10 = new com.aspose.cells.b.a.b.zo[4];
            com.aspose.cells.b.a.b.zo[] var11 = new com.aspose.cells.b.a.b.zo[4];
            com.aspose.cells.b.a.b.zo[] var12 = new com.aspose.cells.b.a.b.zo[4];
            com.aspose.cells.b.a.b.zo[] var13 = new com.aspose.cells.b.a.b.zo[4];
            com.aspose.cells.b.a.b.zo[] var14 = new com.aspose.cells.b.a.b.zo[4];
            switch(var4) {
            case 1:
               switch(this.e.b) {
               case 1:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3);
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i());
                     } else {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3);
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - this.e.x().f());
                     }
                  } else if (this.e.q() > this.e.r()) {
                     if (var5 && var6) {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + this.e.x().f() * 4.0F);
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - 4.0F * this.e.x().f());
                     } else if (var5 && !var6) {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + this.e.x().f() * 4.0F);
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - 1.0F * this.e.x().f());
                     } else {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3);
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - 4.0F * this.e.x().f());
                     }
                  } else if (var5 && var6) {
                     var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 4.0F * this.e.x().f(), this.e.t() + var3);
                     var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - 4.0F * this.e.x().f(), this.e.t() + var3 + var1.i());
                  } else if (var5 && !var6) {
                     var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 4.0F * this.e.x().f(), this.e.t() + var3);
                     var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - 1.0F * this.e.x().f(), this.e.t() + var3 + var1.i());
                  } else {
                     var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3);
                     var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - 4.0F * this.e.x().f(), this.e.t() + var3 + var1.i());
                  }

                  var7.a(var10[0], var10[3]);
                  return var7;
               case 2:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3);
                     } else {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                     }
                  } else if (this.e.q() > this.e.r()) {
                     if (var5 && var6) {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t() - 4.0F * this.e.x().f());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3 + 4.0F * this.e.x().f());
                     } else if (var5 && !var6) {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t() - 4.0F * this.e.x().f());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                     } else {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 1.0F, var1.i() + var3 + this.e.t());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3 + 4.0F * this.e.x().f());
                     }
                  } else if (var5 && var6) {
                     var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 4.0F * this.e.x().f(), var1.i() + var3 + this.e.t());
                     var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2 - 4.0F * this.e.x().f(), this.e.t() + var3);
                  } else if (var5 && !var6) {
                     var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 4.0F * this.e.x().f(), var1.i() + var3 + this.e.t());
                     var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                  } else {
                     var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + 1.0F + var2, var1.i() + var3 + this.e.t());
                     var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s() - 4.0F * this.e.x().f(), this.e.t() + var3);
                  }

                  var7.a(var10[1], var10[2]);
                  return var7;
               case 3:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3);
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - this.e.x().f());
                     } else {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3);
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - this.e.x().f());
                     }
                  } else if (this.e.q() > this.e.r()) {
                     if (var5 && var6) {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + 4.0F * this.e.x().f());
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - 4.0F * this.e.x().f());
                     } else if (var5 && !var6) {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3);
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - 4.0F * this.e.x().f());
                     } else {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + 4.0F * this.e.x().f());
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - 1.0F);
                     }
                  } else if (var5 && var6) {
                     var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 4.0F, this.e.t() + var3);
                     var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() * 4.0F, this.e.t() + var3 + var1.i());
                  } else if (var5 && !var6) {
                     var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 1.0F, this.e.t() + var3);
                     var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() * 4.0F, this.e.t() + var3 + var1.i());
                  } else {
                     var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 4.0F, this.e.t() + var3);
                     var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() * 1.0F, this.e.t() + var3 + var1.i());
                  }

                  var7.a(var10[3], var10[0]);
                  return var7;
               case 4:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                     } else {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                     }
                  } else if (this.e.q() > this.e.r()) {
                     if (var5 && var6) {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t() - 4.0F * this.e.x().f());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3 + 4.0F * this.e.x().f());
                     } else if (var5 && !var6) {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3 + 4.0F * this.e.x().f());
                     } else {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t() - 4.0F * this.e.x().f());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                     }
                  } else if (var5 && var6) {
                     var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 4.0F * this.e.x().f(), var1.i() + var3 + this.e.t());
                     var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() - 4.0F * this.e.x().f() + this.e.s() + var2, this.e.t() + var3);
                  } else if (var5 && !var6) {
                     var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + this.e.t() + var3);
                     var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() - 4.0F * this.e.x().f() + this.e.s() + var2, this.e.t() + var3);
                  } else {
                     var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + 4.0F * this.e.x().f() + var2, var1.i() + this.e.t() + var3);
                     var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3);
                  }

                  var7.a(var10[2], var10[1]);
                  return var7;
               default:
                  return var7;
               }
            case 2:
               switch(this.e.b) {
               case 1:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var14[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3 + this.e.x().f() / 2.0F);
                        var14[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i());
                     } else {
                        var14[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3 + this.e.x().f() / 2.0F);
                        var14[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i());
                     }
                  } else if (this.e.q() > this.e.r()) {
                     var14[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + this.e.x().f() * 4.0F);
                     var14[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - 4.0F * this.e.x().f());
                  } else {
                     var14[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 4.0F, this.e.t() + var3);
                     var14[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() * 4.0F, this.e.t() + var3 + var1.i());
                  }

                  var7.a(var14[0], var14[3]);
                  return var7;
               case 2:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var14[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t());
                        var14[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                     } else {
                        var14[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t());
                        var14[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                     }
                  } else if (this.e.q() > this.e.r()) {
                     var14[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + this.e.t() + var3 - this.e.x().f() * 4.0F);
                     var14[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3 + 4.0F * this.e.x().f());
                  } else {
                     var14[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 4.0F, var1.i() + var3 + this.e.t());
                     var14[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2 - this.e.x().f() * 4.0F, this.e.t() + var3);
                  }

                  var7.a(var14[1], var14[2]);
                  return var7;
               case 3:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var14[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3 + this.e.x().f() / 2.0F);
                        var14[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i());
                     } else {
                        var14[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3 + this.e.x().f() / 2.0F);
                        var14[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i());
                     }
                  } else if (this.e.q() > this.e.r()) {
                     var14[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + this.e.x().f() * 4.0F);
                     var14[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - this.e.x().f() * 4.0F);
                  } else {
                     var14[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 4.0F, this.e.t() + var3);
                     var14[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() * 4.0F, this.e.t() + var3 + var1.i());
                  }

                  var7.a(var14[3], var14[0]);
                  return var7;
               case 4:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var14[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t());
                        var14[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3);
                     } else {
                        var14[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + this.e.t() + var3);
                        var14[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3);
                     }
                  } else if (this.e.q() > this.e.r()) {
                     var14[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + this.e.t() + var3 - 4.0F * this.e.x().f());
                     var14[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3 + 4.0F * this.e.x().f());
                  } else {
                     var14[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 4.0F * this.e.x().f(), var1.i() + this.e.t() + var3);
                     var14[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2 - 4.0F * this.e.x().f(), this.e.t() + var3);
                  }

                  var7.a(var14[2], var14[1]);
                  return var7;
               default:
                  return var7;
               }
            case 3:
               switch(this.e.b) {
               case 1:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var11[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3 + this.e.x().f() / 2.0F);
                        var11[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + this.e.r() + var3);
                     } else {
                        var11[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3 + this.e.x().f() / 2.0F);
                        var11[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + this.e.r());
                     }
                  } else if (this.e.q() > this.e.r()) {
                     var11[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 4.0F, this.e.t() + var3 + 4.0F * this.e.x().f());
                     var11[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - 4.0F * this.e.x().f(), this.e.t() + var3 + this.e.r() + 4.0F * this.e.x().f());
                  } else {
                     var11[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 4.0F, this.e.t() + var3 + this.e.x().f() * 4.0F);
                     var11[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - 4.0F * this.e.x().f(), this.e.t() + var3 + this.e.r() + 4.0F * this.e.x().f());
                  }

                  var7.a(var11[0], var11[3]);
                  return var7;
               case 2:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var11[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + this.e.t() + var3);
                        var11[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                     } else {
                        var11[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t());
                        var11[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3);
                     }
                  } else if (this.e.q() > this.e.r()) {
                     var11[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 4.0F * this.e.x().f(), var1.i() + this.e.t() - 4.0F * this.e.x().f() + var3);
                     var11[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() - 4.0F * this.e.x().f() + var2, this.e.t() + 4.0F * this.e.x().f() + var3);
                  } else {
                     var11[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 4.0F * this.e.x().f(), var1.i() + this.e.t() - 4.0F * this.e.x().f() + var3);
                     var11[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() - 4.0F * this.e.x().f() + var2, this.e.t() + 4.0F * this.e.x().f() + var3);
                  }

                  var7.a(var11[1], var11[2]);
                  return var7;
               case 3:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var11[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3 + this.e.x().f() / 2.0F);
                        var11[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + this.e.r());
                     } else {
                        var11[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3 + this.e.x().f() / 2.0F);
                        var11[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + this.e.r());
                     }
                  } else if (this.e.q() > this.e.r()) {
                     var11[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 4.0F, this.e.t() + var3 + this.e.x().f() * 4.0F);
                     var11[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() * 4.0F, this.e.t() + var3 + this.e.r() + 4.0F * this.e.x().f());
                  } else {
                     var11[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 4.0F, this.e.t() + var3 + this.e.x().f() * 4.0F);
                     var11[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() * 4.0F, this.e.t() + var3 + this.e.r() + 4.0F * this.e.x().f());
                  }

                  var7.a(var11[3], var11[0]);
                  return var7;
               case 4:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var11[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + this.e.t() + var3);
                        var11[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3);
                     } else {
                        var11[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + this.e.t() + var3);
                        var11[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3);
                     }
                  } else if (this.e.q() > this.e.r()) {
                     var11[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 4.0F * this.e.x().f(), var1.i() + this.e.t() + var3 - 4.0F * this.e.x().f());
                     var11[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2 - 4.0F * this.e.x().f(), this.e.t() + var3 + 4.0F * this.e.x().f());
                  } else {
                     var11[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 4.0F * this.e.x().f(), var1.i() + this.e.t() + var3 - 4.0F * this.e.x().f());
                     var11[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2 - 4.0F * this.e.x().f(), this.e.t() + var3 + 4.0F * this.e.x().f());
                  }

                  var7.a(var11[2], var11[1]);
                  return var7;
               default:
                  return var7;
               }
            case 4:
               switch(this.e.b) {
               case 1:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var13[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3 + this.e.x().f() / 2.0F);
                        var13[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - 1.5F * this.e.x().f() - 1.0F, this.e.t() + var3 + var1.i() - 1.5F * this.e.x().f() - 1.0F);
                     } else {
                        var13[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3 + this.e.x().f() / 2.0F);
                        var13[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - 1.5F * this.e.x().f() - 1.0F, this.e.t() + var3 + var1.i() - 1.5F * this.e.x().f() - 1.0F);
                     }
                  } else if (this.e.q() > this.e.r()) {
                     var13[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 5.0F * this.e.x().f(), this.e.t() + var3 + 5.0F * this.e.x().f());
                     var13[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - 5.0F * this.e.x().f(), this.e.t() + var3 + var1.i() - 5.0F * this.e.x().f());
                  } else {
                     var13[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 5.0F * this.e.x().f(), this.e.t() + var3 + 5.0F * this.e.x().f());
                     var13[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - 5.0F * this.e.x().f(), this.e.t() + var3 + var1.i() - 5.0F * this.e.x().f());
                  }

                  var7.a(var13[0], var13[3]);
                  return var7;
               case 2:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var13[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + this.e.t() + var3);
                        var13[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                     } else {
                        var13[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t());
                        var13[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                     }
                  } else if (this.e.q() > this.e.r()) {
                     var13[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 5.0F * this.e.x().f(), var1.i() + this.e.t() + var3 - 5.0F * this.e.x().f());
                     var13[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s() - 5.0F * this.e.x().f(), this.e.t() + var3 + 5.0F * this.e.x().f());
                  } else {
                     var13[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 5.0F * this.e.x().f(), var1.i() + var3 + this.e.t() - 5.0F * this.e.x().f());
                     var13[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s() - 5.0F * this.e.x().f(), this.e.t() + var3 + 5.0F * this.e.x().f());
                  }

                  var7.a(var13[1], var13[2]);
                  return var7;
               case 3:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var13[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3 + this.e.x().f() / 2.0F);
                        var13[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - 1.5F * this.e.x().f() - 1.0F, this.e.t() + var3 + var1.i() - 1.5F * this.e.x().f() - 1.0F);
                     } else {
                        var13[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3 + this.e.x().f() / 2.0F);
                        var13[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - 1.5F * this.e.x().f() - 1.0F, this.e.t() + var3 + var1.i() - 1.5F * this.e.x().f() - 1.0F);
                     }
                  } else if (this.e.q() > this.e.r()) {
                     var13[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 5.0F, this.e.t() + var3 + this.e.x().f() * 5.0F);
                     var13[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() * 5.0F, this.e.t() + var3 + var1.i() - this.e.x().f() * 5.0F);
                  } else {
                     var13[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 5.0F, this.e.t() + var3 + this.e.x().f() * 5.0F);
                     var13[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() * 5.0F, this.e.t() + var3 + var1.i() - this.e.x().f() * 5.0F);
                  }

                  var7.a(var13[3], var13[0]);
                  return var7;
               case 4:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var13[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t());
                        var13[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                     } else {
                        var13[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t());
                        var13[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                     }
                  } else if (this.e.q() > this.e.r()) {
                     var13[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 5.0F * this.e.x().f(), var1.i() + var3 + this.e.t() - 5.0F * this.e.x().f());
                     var13[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s() - 5.0F * this.e.x().f(), this.e.t() + var3 + 5.0F * this.e.x().f());
                  } else {
                     var13[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 5.0F * this.e.x().f(), var1.i() + var3 + this.e.t() - 5.0F * this.e.x().f());
                     var13[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s() - 5.0F * this.e.x().f(), this.e.t() + var3 + 5.0F * this.e.x().f());
                  }

                  var7.a(var13[2], var13[1]);
                  return var7;
               default:
                  return var7;
               }
            case 5:
               switch(this.e.b) {
               case 1:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var12[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3 + this.e.x().f() / 2.0F);
                        var12[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() / 2.0F, this.e.t() + var3 + var1.i() - this.e.x().f() / 2.0F);
                     } else {
                        var12[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3 + this.e.x().f() / 2.0F);
                        var12[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() / 2.0F, this.e.t() + var3 + var1.i() - this.e.x().f() / 2.0F);
                     }
                  } else if (this.e.q() > this.e.r()) {
                     var12[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + this.e.x().f() * 4.0F);
                     var12[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - this.e.x().f() * 4.0F);
                  } else {
                     var12[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 4.0F, this.e.t() + var3);
                     var12[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() * 4.0F, this.e.t() + var3 + var1.i());
                  }

                  var7.a(var12[0], var12[3]);
                  return var7;
               case 2:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var12[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + this.e.t() + var3);
                        var12[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3);
                     } else {
                        var12[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + this.e.t() + var3);
                        var12[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3);
                     }
                  } else if (this.e.q() > this.e.r()) {
                     var12[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + this.e.t() + var3 - this.e.x().f() * 4.0F);
                     var12[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3 + 4.0F * this.e.x().f());
                  } else {
                     var12[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 4.0F * this.e.x().f(), var1.i() + this.e.t() + var3);
                     var12[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2 - 4.0F * this.e.x().f(), this.e.t() + var3);
                  }

                  var7.a(var12[1], var12[2]);
                  return var7;
               case 3:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var12[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3 + this.e.x().f() / 2.0F);
                        var12[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() / 2.0F, this.e.t() + var3 + var1.i() - this.e.x().f() / 2.0F);
                     } else {
                        var12[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3 + this.e.x().f() / 2.0F);
                        var12[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() / 2.0F, this.e.t() + var3 + var1.i() - this.e.x().f() / 2.0F);
                     }
                  } else if (this.e.q() > this.e.r()) {
                     var12[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + this.e.x().f() * 4.0F);
                     var12[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - this.e.x().f() * 4.0F);
                  } else {
                     var12[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 4.0F, this.e.t() + var3);
                     var12[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() * 4.0F, this.e.t() + var3 + var1.i());
                  }

                  var7.a(var12[3], var12[0]);
                  return var7;
               case 4:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var12[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + this.e.t() + var3 - this.e.x().f() * 4.0F);
                        var12[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3);
                     } else {
                        var12[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + this.e.t() + var3);
                        var12[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3);
                     }
                  } else if (this.e.q() > this.e.r()) {
                     var12[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + this.e.t() + var3 - this.e.x().f() * 4.0F);
                     var12[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3 + this.e.x().f() * 4.0F);
                  } else {
                     var12[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 4.0F, var1.i() + var3 + this.e.t());
                     var12[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2 - this.e.x().f() * 4.0F, this.e.t() + var3);
                  }

                  var7.a(var12[2], var12[1]);
                  return var7;
               default:
                  return var7;
               }
            default:
               switch(this.e.b) {
               case 1:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3);
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i());
                     } else {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3);
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - this.e.x().f());
                     }
                  } else if (this.e.q() > this.e.r()) {
                     if (var5 && var6) {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + this.e.x().f() * 4.0F);
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - 4.0F * this.e.x().f());
                     } else if (var5 && !var6) {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + this.e.x().f() * 4.0F);
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - 1.0F * this.e.x().f());
                     } else {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3);
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - 4.0F * this.e.x().f());
                     }
                  } else if (var5 && var6) {
                     var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 4.0F * this.e.x().f(), this.e.t() + var3);
                     var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - 4.0F * this.e.x().f(), this.e.t() + var3 + var1.i());
                  } else if (var5 && !var6) {
                     var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 4.0F * this.e.x().f(), this.e.t() + var3);
                     var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - 1.0F * this.e.x().f(), this.e.t() + var3 + var1.i());
                  } else {
                     var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3);
                     var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - 4.0F * this.e.x().f(), this.e.t() + var3 + var1.i());
                  }

                  var7.a(var10[0], var10[3]);
                  break;
               case 2:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3);
                     } else {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                     }
                  } else if (this.e.q() > this.e.r()) {
                     if (var5 && var6) {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t() - 4.0F * this.e.x().f());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3 + 4.0F * this.e.x().f());
                     } else if (var5 && !var6) {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t() - 4.0F * this.e.x().f());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                     } else {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 1.0F, var1.i() + var3 + this.e.t());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3 + 4.0F * this.e.x().f());
                     }
                  } else if (var5 && var6) {
                     var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 4.0F * this.e.x().f(), var1.i() + var3 + this.e.t());
                     var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2 - 4.0F * this.e.x().f(), this.e.t() + var3);
                  } else if (var5 && !var6) {
                     var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 4.0F * this.e.x().f(), var1.i() + var3 + this.e.t());
                     var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                  } else {
                     var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + 1.0F + var2, var1.i() + var3 + this.e.t());
                     var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s() - 4.0F * this.e.x().f(), this.e.t() + var3);
                  }

                  var7.a(var10[1], var10[2]);
                  break;
               case 3:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3);
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - this.e.x().f());
                     } else {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() / 2.0F, this.e.t() + var3);
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - this.e.x().f());
                     }
                  } else if (this.e.q() > this.e.r()) {
                     if (var5 && var6) {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + 4.0F * this.e.x().f());
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - 4.0F * this.e.x().f());
                     } else if (var5 && !var6) {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3);
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - 4.0F * this.e.x().f());
                     } else {
                        var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, this.e.t() + var3 + 4.0F * this.e.x().f());
                        var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h(), this.e.t() + var3 + var1.i() - 1.0F);
                     }
                  } else if (var5 && var6) {
                     var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 4.0F, this.e.t() + var3);
                     var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() * 4.0F, this.e.t() + var3 + var1.i());
                  } else if (var5 && !var6) {
                     var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 1.0F, this.e.t() + var3);
                     var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() * 4.0F, this.e.t() + var3 + var1.i());
                  } else {
                     var10[0] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + this.e.x().f() * 4.0F, this.e.t() + var3);
                     var10[3] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + var1.h() - this.e.x().f() * 1.0F, this.e.t() + var3 + var1.i());
                  }

                  var7.a(var10[3], var10[0]);
                  break;
               case 4:
                  if (this.e.x().f() > 1.0F) {
                     if (this.e.q() > this.e.r()) {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                     } else {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                     }
                  } else if (this.e.q() > this.e.r()) {
                     if (var5 && var6) {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t() - 4.0F * this.e.x().f());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3 + 4.0F * this.e.x().f());
                     } else if (var5 && !var6) {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3 + 4.0F * this.e.x().f());
                     } else {
                        var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + var3 + this.e.t() - 4.0F * this.e.x().f());
                        var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + var2 + this.e.s(), this.e.t() + var3);
                     }
                  } else if (var5 && var6) {
                     var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2 + 4.0F * this.e.x().f(), var1.i() + var3 + this.e.t());
                     var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() - 4.0F * this.e.x().f() + this.e.s() + var2, this.e.t() + var3);
                  } else if (var5 && !var6) {
                     var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + var2, var1.i() + this.e.t() + var3);
                     var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() - 4.0F * this.e.x().f() + this.e.s() + var2, this.e.t() + var3);
                  } else {
                     var10[1] = new com.aspose.cells.b.a.b.zo(this.e.s() + 4.0F * this.e.x().f() + var2, var1.i() + this.e.t() + var3);
                     var10[2] = new com.aspose.cells.b.a.b.zo(var1.h() + this.e.s() + var2, this.e.t() + var3);
                  }

                  var7.a(var10[2], var10[1]);
               }
            }
         }
      }

      return var7;
   }

   void b() {
      com.aspose.cells.b.a.b.a.zf var1 = this.a.e();
      this.a.a(4);
      if (!this.e.x().a()) {
         this.a(this.a, this.c, this.d, this.e.S().h(), this.e.S().i());
      }

      this.a.a(var1);
   }
}
